<?php

class Application_Form_Status extends Zend_Form {

    public function init() {
        $this->setMethod("post");

        $status = new Zend_Form_Element_Select('status');
        $status->setLabel("Select Status:")
                ->setRequired()
                ->addFilter("StringTrim")
                ->setAttribs(array('class' => 'span12'));
        
        $id = new Zend_Form_Element_Hidden('id');
        $id->setValue(0);

        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel("Update Status")
                ->setAttribs(array('class' => 'btn btn-success'));

        $this->addElements(array($status,$id, $submit));
    }

}

